class tpshopcommon:
    # 断言登录接口
    @classmethod
    def register_assert(cls, resp, status_code, status, msg):
        assert resp.status_code == status_code
        assert resp.json()["status"] == status
        assert resp.json()["msg"] == msg